package com.bckj.fastboot.core.extra.extpt;

import lombok.Data;

import java.util.List;

@Data
public class ExtPtProfile {

    public static final int TYPE_CHAIN = 1;
    public static final int TYPE_PROCESS = 2;

    private String interfaceName;
    private String beanName;
    private int type = TYPE_CHAIN;
    private List<Method> methods;


    @Data
    public static class Method {
        private String methodName;
        private int type = TYPE_CHAIN;
        private String processId;
        private List<String> stages;
    }
}
